<template>
	<view class="">
		<image @tap="toPreview" :src="baseUrl + img" mode=""></image>
	</view>
</template>

<script>
	import request from '@/common/lib/request.js'
	export default {
		
		data() {
			return {
				baseUrl:request.common.baseUrl,
				img: ''
			}
		},
		onLoad(option) {
			this.img = option.img
		},
		methods: {
			toPreview(){
				uni.navigateTo({
					url: 'reportPreview?img='+this.img
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	
</style>
